import React, {useEffect} from 'react';
import {View, Text, TouchableOpacity, ScrollView} from 'react-native';
import {useNavigation} from '@react-navigation/native';
import AreaView from '../../components/Layout/AreaView';
import styles from './style';
import {Icon} from '@ant-design/react-native';
import SearchHeadIcon from '../../components/SearchHeadIcon';

const MyQuestion = () => {
  const navigation = useNavigation();
  useEffect(() => {}, [navigation]);

  return (
    <AreaView>
      <ScrollView style={styles.list_container}>
        <TouchableOpacity  activeOpacity={1} style={styles.list}>
          <Text style={styles.big_title} numberOfLines={2}>
            有句话说的好，颈椎不舒服，很多疾病都会随之找上门来，虽然这有一点夸大的成分，但是也从侧面说明了?
          </Text>
          <View style={styles.small_title_container}>
            <Text style={styles.small_title}>2021-04-25 10:36</Text>
          </View>
        </TouchableOpacity>
        <TouchableOpacity  activeOpacity={1} style={styles.list}>
          <Text style={styles.big_title} numberOfLines={2}>
            有句话说的好，颈椎不舒服，很多疾病都会随之找上门来，虽然这有一点夸大的成分，但是也从侧面说明了?
          </Text>
          <View style={styles.small_title_container}>
            <Text style={styles.small_title}>2021-04-25 10:36</Text>
          </View>
        </TouchableOpacity>
      </ScrollView>
    </AreaView>
  );
};

export default MyQuestion;
